projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
091335f
)
gtk/gtkaboutdialog.c: use accessor functions to access GtkWidget
author
Javier Jardón
<jjardon@gnome.org>
Wed, 11 Aug 2010 21:19:31 +0000
(23:19 +0200)
committer
Javier Jardón
<jjardon@gnome.org>
Sun, 22 Aug 2010 20:56:16 +0000
(22:56 +0200)
gtk/gtkaboutdialog.c
patch
|
blob
|
history
diff --git
a/gtk/gtkaboutdialog.c
b/gtk/gtkaboutdialog.c
index acf1aff93a1f85d718eea8f6d4615f7d0747b562..250793add87f79abcef98d3133756a155a7b04cb 100644
(file)
--- a/
gtk/gtkaboutdialog.c
+++ b/
gtk/gtkaboutdialog.c
@@
-2010,7
+2010,8
@@
text_view_visibility_notify_event (GtkWidget *text_view,
{
GdkDevice *dev = d->data;
- gdk_window_get_device_position (text_view->window, dev, &wx, &wy, NULL);
+ gdk_window_get_device_position (gtk_widget_get_window (text_view), dev,
+ &wx, &wy, NULL);
gtk_text_view_window_to_buffer_coords (GTK_TEXT_VIEW (text_view),
GTK_TEXT_WINDOW_WIDGET,